home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group95b.txt / 000043_icon-group-sender _Fri Jun 16 14:20:51 1995.msg < prev    next >
Internet Message Format  |  1995-09-18  |  2KB

  1. Received: by cheltenham.cs.arizona.edu; Fri, 16 Jun 1995 12:29:22 MST
  2. Date: Fri, 16 Jun 1995 14:20:51 -0400 (EDT)
  3. From: John Kohl <kohl@nova.umuc.edu>
  4. X-Sender: kohl@nova
  5. To: Scott E Gilbert <scott@cs.arizona.edu>
  6. Cc: icon-group@cs.arizona.edu
  7. Subject: Re: ICON vs Ted Nelson
  8. In-Reply-To: <3rqsq6$g9s@lectura.CS.Arizona.EDU>
  9. Message-Id: <Pine.SOL.3.91.950616140406.25217C-100000@nova>
  10. Mime-Version: 1.0
  11. Content-Type: TEXT/PLAIN; charset=US-ASCII
  12. Errors-To: icon-group-errors@cs.arizona.edu
  13.  
  14. On 15 Jun 1995, Scott E Gilbert wrote:
  15. > Ok, so lets spark up a thread of our own.  What are your least and most
  16. > favorite features about Icon?  What would you change?
  17. > Personally, I'd like to see the &null value act as a general purpose
  18. > identity for all of the operators except when used as a procedure call. For
  19. > example:
  20. >   1 + &null           -> 1
  21. >   1 * &null           -> 0
  22. >   'abc' ++ &null      -> 'abc'
  23. >   "foo" || &null      -> "foo"
  24. >   [1,2,3] ||| &null   -> [1,2,3]
  25. >   &null(1, 2, 3)      -> Obscure Runtime Error: 169
  26. > I'd probably even extend this to other "operators" such as those that work
  27. > on lists, tables and sets.
  28.     I would also appreciate the above feature.
  29.  
  30.     I request being able to declare the types of variables for
  31. at least a translation time check.  This would modestly increase the
  32. writing effort for those of us who choose to do the typing.  But it
  33. would cut down on some lengthier debug time.
  34.  
  35.  
  36.                 John Kohl
  37.                 Univ. Maryland, University College
  38.